/* 全局单位 rpx ，font-size为px  border-radio为%*/

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 全局的主色调 */
.main-font-color {
  color: #FD587B;
}

.main-bg-color {
  background-color: #FD587B;
}

/* 全局的灰色调 */
.grey-light-font-color {
  color: #F5F4F2;
}

.grey-light-bg-color {
  background-color: #F5F4F2;
}

.grey-deep-font-color {
  color: #888782;
}

.grey-deep-bg-color {
  background-color: #888782;
}

/* 字体颜色 */
.font-color-white {
  color: white;
}

.font-color-black {
  color: black;
}

/* flex布局 */
.flex {
  display: flex;
}

.flex-align-center {
  display: flex;
  align-items: center;
}

/* flex布局配合对齐方式 */
.flex-b {
  display: flex;
  justify-content: space-between;
}

.flex-1 {
  flex: 1;
}

.flex-a {
  display: flex;
  justify-content: space-around;
}

.flex-e {
  display: flex;
  justify-content: space-evenly;
}

/* margin设置 */
.m-center {
  margin: 0 auto;
}

.m-t-10 {
  margin-top: 10rpx;
}

.m-t-20 {
  margin-top: 20rpx;
}

.m-t-30 {
  margin-top: 30rpx;
}

.m-t-40 {
  margin-top: 40rpx;
}

.m-b-10 {
  margin-bottom: 10rpx;
}

.m-b-20 {
  margin-bottom: 20rpx;
}

.m-b-30 {
  margin-bottom: 30rpx;
}

.m-b-40 {
  margin-bottom: 40rpx;
}

.m-l-10 {
  margin-left: 10rpx;
}

.m-l-20 {
  margin-left: 20rpx;
}

.m-l-30 {
  margin-left: 30rpx;
}

.m-l-40 {
  margin-left: 40rpx;
}

.m-r-10 {
  margin-right: 10rpx;
}

.m-r-20 {
  margin-right: 20rpx;
}

.m-r-30 {
  margin-right: 30rpx;
}

.m-r-40 {
  margin-right: 40rpx;
}

.m-all-10 {
  margin: 10rpx;
}

.m-all-20 {
  margin: 20rpx;
}

.m-all-30 {
  margin: 30rpx;
}

.m-all-40 {
  margin: 40rpx;
}

.m-t-50 {
  margin-top: 50rpx;
}

.m-b-50 {
  margin-bottom: 50rpx;
}

.m-l-50 {
  margin-left: 50rpx;
}

.m-r-50 {
  margin-right: 50rpx;
}

/* padding样式 */
.p-t-10 {
  padding-top: 10rpx;
}

.p-t-20 {
  padding-top: 20rpx;
}

.p-t-30 {
  padding-top: 30rpx;
}

.p-t-40 {
  padding-top: 40rpx;
}

.p-b-10 {
  padding-bottom: 10rpx;
}

.p-b-20 {
  padding-bottom: 20rpx;
}

.p-b-30 {
  padding-bottom: 30rpx;
}

.p-b-40 {
  padding-bottom: 40rpx;
}

.p-l-10 {
  padding-left: 10rpx;
}

.p-l-20 {
  padding-left: 20rpx;
}

.p-l-30 {
  padding-left: 30rpx;
}

.p-l-40 {
  padding-left: 40rpx;
}

.p-r-10 {
  padding-right: 10rpx;
}

.p-r-20 {
  padding-right: 20rpx;
}

.p-r-30 {
  padding-right: 30rpx;
}

.p-r-40 {
  padding-right: 40rpx;
}

.p-all-10 {
  padding: 10rpx;
}

.p-all-20 {
  padding: 20rpx;
}

.p-all-30 {
  padding: 30rpx;
}

.p-all-40 {
  padding: 40rpx;
}

.p-10-20 {
  padding: 10rpx 20rpx;
}

.p-5-10 {
  padding: 5rpx 10rpx;
}

/* font  单位px */
.f-s-12 {
  font-size: 12px;
}

.f-s-14 {
  font-size: 14px;
}

.f-s-16 {
  font-size: 16px;
}

.f-s-18 {
  font-size: 18px;
}

.f-s-20 {
  font-size: 20px;
}

.f-w {
  font-weight: 900;
}

/* text */
.t-a-l {
  text-align: left;
}

.t-a-c {
  text-align: center;
}

.t-a-r {
  text-align: right;
}


/* border-radio 单位% */
.b-r-5 {
  border-radius: 5%;
}

.b-r-10 {
  border-radius: 5%;
}

.b-r-50 {
  border-radius: 50%;
}

/* line-height */
.l-h-10 {
  line-height: 10rpx;
}

.l-h-20 {
  line-height: 20rpx;
}

.l-h-30 {
  line-height: 30rpx;
}

.l-h-40 {
  line-height: 40rpx;
}

.l-h-50 {
  line-height: 50rpx;
}

.l-h-60 {
  line-height: 60rpx;
}

.l-h-70 {
  line-height: 70rpx;
}

.l-h-80 {
  line-height: 80rpx;
}

.l-h-90 {
  line-height: 90rpx;
}

.l-h-100 {
  line-height: 100rpx;
}

/* 超出范围隐藏 */
.over-h {
  overflow: hidden;
}

/* 超出范围换行 */
.over-w {
  overflow-wrap: break-word;
}

.b-light {
  border: 1px solid #F5F4F2;
}

.b-deep {
  border: 1px solid #888782;
}